<template>
  <div>
    <X_Plot />
  </div>
</template>

<script setup>
import { onMounted } from 'vue'
const cesiumInitHandler = (event) => {
  const winevent = new CustomEvent('cesiumInits', { detail: { viewer: window.viewer } })
  console.log('window.viewer', window.viewer)
  window.dispatchEvent(winevent)
}
onMounted(() => {
  window.addEventListener('cesiumInit', cesiumInitHandler)
})
</script>

<style lang="less" scoped></style>
